/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.system.application.extend.vo;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @description
 *
 * @author rening
 * @version v1.0
 *
 * @2013-9-22
 *
 */
@XmlRootElement(name = "authResult")
@XmlAccessorType(XmlAccessType.FIELD)
public class AuthResultVO implements Serializable {

	private static final long serialVersionUID = 675864172167593180L;

	private boolean result;
	
	private String username;
	
	private String message;
	
	private String setCookie;
	
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the result
	 */
	public boolean isResult() {
		return result;
	}

	/**
	 * @param result the result to set
	 */
	public void setResult(boolean result) {
		this.result = result;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the setCookie
	 */
	public String getSetCookie() {
		return setCookie;
	}

	/**
	 * @param setCookie the setCookie to set
	 */
	public void setSetCookie(String setCookie) {
		this.setCookie = setCookie;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "AuthResultVO [result=" + result + ", username=" + username
				+ ", message=" + message + ", setCookie=" + setCookie + "]";
	}

}
